auto merge of #307 : erickt/cargo/bench, r=wycats
authorbors <bors@rust-lang.org>
Fri, 15 Aug 2014 04:00:13 +0000 (04:00 +0000)
committerbors <bors@rust-lang.org>
Fri, 15 Aug 2014 04:00:13 +0000 (04:00 +0000)
commita02a200f4f684c299c5b24e08acfa4190bf05b9a
treed0ef71bb92b5da42706ad6613d763c71adfb1e1b
parent18dea51d41292301ea06e9655074b09fbb8bf3f3
parent251bc7dfd759ce6331f347eadfe660efd81451d5
auto merge of #307 : erickt/cargo/bench, r=wycats

This adds initial support for benchmarking at `--opt-level=3` for cargo. It's run just like `cargo-test`, and can actually run tests at the higher optimization level with `cargo bench -- --test`.

One question I had though is if we should include the `-Zlto` for link time optimizations. I'm not sure how well supported that is. What do you all think?